<%@ taglib prefix="bean" uri="http://struts.apache.org/tags-bean" %>
<%@ taglib prefix="logic" uri="http://struts.apache.org/tags-logic" %>
<%@ taglib prefix="html" uri="http://struts.apache.org/tags-html" %>
<%@ page import="javax.sql.*"%>

<%@ page isELIgnored ="false" %> 

<html:html>

<font size="6">Country of citizenship</font>
<p>

<body>

	<!-- in case validation of the entry data fails in the data bean -->
	<html:errors />

	<ul style="list-style:none; margin: 0px;"> 
        <li><b>First Name: </b>${applicantDataBean.firstname} </li> 
        <li><b>Middle Name: </b>${applicantDataBean.middlename} </li>
        <li><b>Last Name: </b>${applicantDataBean.lastname} </li>
    </ul> <br>
    
    <b>Country of citizenship: </b>${applicantDataBean.country1} <br>
    <b>Country of residence: </b>${applicantDataBean.country2}
    
    <p>
    Citizenship status: You are a US citizen.
    <p>
   	Please provide your address information.
   	<p>
   	
   	


	<html:form method="post" action="/addressPageAction">
        <table border="0">
            <tr> 
                <td width="125">
                    <bean:message key="applicantData.add.address"/>
                </td>
                <td> 
                    <html:text property ="address" size = "40"/>
                </td>
            </tr>
            <tr> 
                <td width="125">
                    <bean:message key="applicantData.add.city"/>
                </td>
                <td> 
                    <html:text property ="city" size = "20"/>
                </td>
            </tr>
            <tr> 
                <td width="125">
                    <bean:message key="applicantData.add.state"/>
                </td> 
                <td> 
                    <html:text property="state" size="2"/>
                </td>
            </tr>
          	<tr> 
                <td width="125">
                    <bean:message key="applicantData.add.zipcode"/>
                </td> 
                <td> 
                    <html:text property="zipcode" size="5"/>
                </td>
            </tr>
           	<tr> 
                <td width="125">
                    <bean:message key="applicantData.add.areacode"/>
                </td> 
                <td> 
                    <html:text property="areacode" size="3"/>
                </td>
            </tr>
          	<tr> 
                <td width="125">
                    <bean:message key="applicantData.add.telephonenumber"/>
                </td> 
                <td> 
                    <html:text property="telephonenumber" size="7"/>
                </td>
            </tr>
        </table>

        <br />

        <html:submit>
            <bean:message key="applicantData.add.submit"/> 
        </html:submit>

    </html:form>
	

	

</body>
</html:html>